
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module extend
* @author: Hjava
* @description:
* @since: 2018-07-16 12:52:47
*/
var apply_1 = __webpack_require__(/*! _util/apply */ "./src/core/utils/apply.ts");
exports.default = (function () {
    var C = function (E) {
        for (var D in E) {
            this[D] = E[D];
        }
    };
    var e = Object.prototype.constructor;
    return function (G, O) {
        var J = function () {
            G.apply(this, arguments);
        };
        var E = function () {
        }, H, D = G.prototype;
        E.prototype = D;
        H = J.prototype = new E();
        H.constructor = J;
        J.superclass = D;
        if (D.constructor == e) {
            D.constructor = G;
        }
        J.override = function (F) {
            override(J, F);
        };
        H.supr = (function () {
            return D;
        });
        H.override = C;
        override(J, O);
        return J;
    };
})();
function override(e, D) {
    apply_1.default(e.prototype, D);
}


//# sourceURL=webpack://MTDX/./src/core/utils/extend.ts?